<?php
class At_User_Adapter extends Zend_Auth_Adapter_DbTable{
    protected $_tableName 			= 'user_admin';
    protected $_identityColumn		= 'username';
    protected $_credentialColumn	= 'password';

	public function __construct( $username, $password ){
        $this->_zendDb = Zend_Db_Table::getDefaultAdapter();

		$this->setCredential( $password );
		$this->setIdentity( $username );
		$this->setCredentialTreatment( 'MD5(?)' );
	}
}
